
import type { DevType } from './declare'

import build, { BuildCommand } from './cli/build'
// import changelog, { ChangelogCommand } from './cli/changelog'
// import commit, { CommitCommand } from './cli/commit'
import init, { InitCommand } from './cli/init'
import install, { InstallCommand } from './cli/install'
import $new, { NewCommand } from './cli/new';
import dev, { DevCommand } from './cli/dev'
// import packages, { PackagesCommand } from './cli/packages'
import publish, { PublishCommand } from './cli/publish'
import update, { UpdateCommand } from './cli/update'
import transform, { TransformCommand } from './cli/transform'
// import upgrade, { UpgradeCommand } from './cli/upgrade'

export {
    BuildCommand,
    // ChangelogCommand,
    // CommitCommand,
    InitCommand,
    InstallCommand,
    NewCommand,
    DevCommand,
    // PackagesCommand,
    PublishCommand,
    UpdateCommand,
    TransformCommand,
    // UpgradeCommand,
}

export type {
    DevType
}


export default [
    init,
    $new, // new
    dev,
    build,
    publish,

    install,
    update,
    transform,
    // packages

    // commit,
    // changelog
    // upgrade
]

export * as getUtil from './util';
export * as getDeclare from './declare';

/**
const build_1 = require("./cli/build");
exports.BuildCommand = build_1.BuildCommand;
const init_1 = require("./cli/init");
exports.InitCommand = init_1.InitCommand;
const install_1 = require("./cli/install");
exports.InstallCommand = install_1.InstallCommand;
const new_1 = require("./cli/new");
exports.NewCommand = new_1.NewCommand;
const dev_1 = require("./cli/dev");
exports.DevCommand = dev_1.DevCommand;
const publish_1 = require("./cli/publish");
exports.PublishCommand = publish_1.PublishCommand;
const update_1 = require("./cli/update");
exports.UpdateCommand = update_1.UpdateCommand;
const transform_1 = require("./cli/transform");
exports.TransformCommand = transform_1.TransformCommand;
exports.default = [
    init_1.default,
    new_1.default,
    dev_1.default,
    build_1.default,
    publish_1.default,
    install_1.default,
    update_1.default,
    transform_1.default
];
exports.getUtil = () => {
    return require('./util');
};
exports.getDeclare = () => {
    return require('./declare');
};
*/